/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2022-04-27
 * Time: 15:43
public class PrimeNumber {
    static boolean Prime(int n){
        for (int i = 2; i <=Math.sqrt(n); i++) {
            if(n%i==0){
                return true;
            }
        }
        return false;
    }

    public static void main(String[] args) {
        for (int i = 1; i < 101; i++) {
            if(Prime(i)==false){
                System.out.println(i+"是素数");
            }
        }
    }
}*/
